package com.ruoyi.weixin.vo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class UserVo {
    @TableId(value="id",type= IdType.AUTO)
    private Integer id;

    //昵称
    private String nickName;
    //头像
    private String picUrl;
    //状态
    private Integer status;
    //电话
    private String phone;

    //邮箱
    private String email;



    private Integer frentLink;

    private String userTab;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birth;

    private Integer famId;

}
